//
// Created by 123 on 2024/12/31.
//
#include "iostream"
using namespace std;

class Person{
public:
    string m_name;
protected:
    string m_car;
private:
    int m_pwd;
public:
    void func(){
        m_name = "zhangsan";
        m_car = "BMW";
        m_pwd = 123456;
    }
};

int main054(){
    Person p;
    p.m_name = "lisi";
    p.func();
    cout << p.m_name << endl;

    return 0;
}